import { fairygui } from "../UI/GComs";
import { MovieClip } from "./MovieClip";

export default class McMv extends fairygui.GMovieClip {
    dispose(clearMcOnce: boolean = true) {
        clearMcOnce && !this._displayObject.destroyed && MovieClip.clearMcTimesByType(this.packName);
        super.dispose();
    }

    get packName() {
        return this.packageItem.owner.name;
    }
}